package com.test.account.service;

import com.test.account.pojo.Account;

import java.util.List;

/**
 * Created by 57695 on 2017/3/12.
 */
public interface AccountService {

    List<Account> getAccounts();
    int deleteAccount(long code);
    Account getAccountByCode(long code);
    int updateAccount(Account account,long code);
    int addAccount(Account account);
    List<Account> ExecuteSql(String sql);
}
